package com.dgut.staffmodule.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class DepartmentEditDTO {//修改部门信息的DTO
	private Long id;
	private String deptName;
	@DateTimeFormat(pattern = "yyyy/MM/dd")
	private Date setupDate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	@JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
	public Date getSetupDate() {
		return setupDate;
	}

	public void setSetupDate(Date setupDate) {
		this.setupDate = setupDate;
	}

}
